#include "book.h"

// see book.h
Book::Book() {
	this->title = "";
	this->year = 0;
}

// see book.h
Book::Book(string title, int year) {
	this->title = title;
	this->year = year;
}

// see book.h
std::ostream& operator<<(std::ostream& os, const Book& book) {
	os << "Title: " << book.title << "  ";
	os << "Year: " << book.year;
    return os;
}